package cn.com.chengmandian.erp.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * ERP系统-备件管理-维修领用
 * </p>
 *
 * @author AutoGenerator
 */
@Getter
@Setter
@TableName("erp_part_repair")
@ApiModel(value = "ErpPartRepair对象", description = "ERP系统-备件管理-维修领用")
public class ErpPartRepair implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("运营城市ID")
    private Integer operateId;

    @ApiModelProperty("仓库ID")
    private Integer warehouseId;

    @ApiModelProperty("关联客户编号")
    private Integer companyId;

    @ApiModelProperty("维修单号")
    private String repairNo;

    @ApiModelProperty("车辆编号")
    private String bikeNo;

    @ApiModelProperty("关联型号ID")
    private Integer modelId;

    @ApiModelProperty("维修类型 1-仓库维修 2-现场维修")
    private Integer repairType;

    @ApiModelProperty("消耗备件数量")
    private Integer amount;

    @ApiModelProperty("总价")
    private BigDecimal money;

    @ApiModelProperty("消耗备件明细数量")
    private Integer itemAmount;

    @ApiModelProperty("维修说明")
    private String note;

    @ApiModelProperty("故障拍照")
    private String images;

    @ApiModelProperty("故障配件拍照")
    private String replaceImages;

    @ApiModelProperty("状态 1-维修完成 2-已取消 3-已审核")
    private Integer status;

    @ApiModelProperty("取消时间")
    private Date cancelTime;

    @ApiModelProperty("取消人ID")
    private Integer cancelUser;

    @ApiModelProperty("取消人姓名")
    private String cancelName;

    @ApiModelProperty("审核结果 1-质量问题 2-人为原因 3-其它")
    private Integer authResult;

    @ApiModelProperty("审核人ID")
    private Integer authUser;

    @ApiModelProperty("审核人姓名")
    private String authName;

    @ApiModelProperty("审核说明")
    private String authRemark;

    @ApiModelProperty("审核时间")
    private Date authTime;

    @ApiModelProperty("创建人ID")
    private Integer createUser;

    @ApiModelProperty("创建人姓名")
    private String createName;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("修改时间")
    private Date modifyTime;

}
